Setting Up the Bot

In Druid ChatBot Portal:

  1. Configure the Bot.
  2. Set Up Druid Users.
  3. Run Setup Flow.

Step 1: Configure the Bot

Note:  Retail default language is set to EN-US and additional language is set to RO. If you want to add additional languages on Retail, make sure to add the language of choice as additional bot language and add the according training phrases, synonyms and conditions.

To configure the bot for Retail, you need to set Live Chat timeouts and Special Flows, enable the bot for Live Chat integration and configure the connection strings.

Set Live Chat timeouts

In the bot’s Details page, click the General section header. The General settings area expands.

Set the parameters for the Route-to-Human functionality:

  • LiveChatQueueWaitingTimeoutMins - The amount of time in minutes that a client could wait until an agent accepts the incoming live chat request. When the time limit is reached, the live-chat-waiting-message-in-the-queue flow is triggered.
  • LiveChatConversationIdleTimeoutMins - The idle time limit for which a client can be idle (i.e. does not respond) in an ongoing conversation with an agent. Once the time limit is reached, the dialog times out and the client is automatically returned to bot context.

Save the bot. For more information on how it works and how to configure Live Chat, see Live Chat.

Set special flows

Click the Special Flows section header and select the following special flows:

Special Flow Select
Welcome first-welcome-flow
IntentNotFound Intent-not-recognized
Authentication web-authentication-customer
LiveChatClientDisconnectedFlowId live-chat-feedback-client
LiveChatAgentDisconnectedFlowId live-chat-agent-disconnect
LiveChatClientWaitingInQueueFlowId live-chat-connect-to-agent
LiveChatClientConnectedFlowId live-chat-client-connected

In production, you can configure these flows based on your needs.

Set the Connection Strings (Apps) Details

Retail provides you with a wide range of apps for integration with various systems to demo various processes. Set up only the apps used by your organization or the ones dedicated to the particular processes you want to demo / use.

Enable BotApi

For live chat integration you need to enable BotApi at your tenant level. To do so, on the main menu, click Administration > Settings. Click the BotApi tab and tick the Is enabled check box.

Set the Connection Strings (Apps) Details

Victor provides you with a wide range of apps for integration with various systems to demo various processes. Set up only the apps used by your organization or the ones dedicated to the particular processes you want to demo / use.

Druid App App Type Integrates Druid with Integration Purpose Mandatory app
SQL-DB SQL Your Database. Connects Druid to your DB. Yes
UiPathDruidsoft1 UiPath UiPath robots Allows the chatbot and UiPath robots to work seamlessly together to fulfill customers service and employee requests. Yes
UiPathOrchApi REST UiPath Orchestrator API Druid integration with UiPath Orchestrator API. Yes
Note:  To run the Retail setup flow, you only need to set up the SQL app.

For information on how to set the connection strings, click on the configuration section specific to the app you want to set:

Important!  In order for the chatbot integration with the apps to be up and running, you need to publish the connector actions. To do so, from the main menu, click Integrations and click the Publish button.

 

Step 2: Set Up Druid Users

The user roles that can interact with the retail bot are the following:

  • Customer Retail
  • Visitor
  • Customer Support Agent
  • Manager

For production environments, you need to make sure that in the Druid ChatBot Portal you assign the specific security roles to users, as follows:

  • For all managers, create Druid users and assign them the Manager role.
  • For all agents in your customer support department, create Druid users and assign them the Helpdesk Agent role.
Note:  To view all Druid users, in the Druid ChatBot Portal, from the main menu click Administration > Users and in the Users page, tick the ShowChatUsers check box.

For Druid demo and community environments, assign all roles to your user.

Step 3: Run Setup Flow

Open chat land bot page and send the message “setup-retail-bot”. This command sets up all the DB tables needed in Retail.

Click Done. If the SQL connection strings are properly set, the Retail setup completes successfully.

You can now train the entities and the bot and set up the webchat in HTML page.